package pack

import (
	"fmt"
	"mall_frontend_api/biz/config"
)

func GetImage(img string) string {
	if img == "" {
		return ""
	}
	return fmt.Sprintf("%s%s", config.Values.Host, img)
}
